package com.troll.wanandroid.viewmodel

import androidx.lifecycle.rxLifeScope
import com.troll.base.BaseViewModel
import com.troll.wanandroid.repo.QuestionRepo

/**
 *
 * @Author:   TangPeng
 * @Time:     6/10/21
 * @Remark:
 */
class QuestionViewModel : BaseViewModel() {
    private val repo = QuestionRepo()
    val liveQuestion = repo.liveQuestion

    fun data() {
        repo.question(rxLifeScope)
    }


}